package com.dhms.vostok1.data.work_bench


enum class WorkBenchItemType(val value: String) {
    //隐患
    DAMAGE("damage"),

    //故障
    FAULT("fault"),

    //点巡检
    SPOT_PATROL("spot_patrol"),

    //润滑
    LUBRICATION("lubrication"),

    //维保
    MAINTENANCE("maintenance"),

    //检修
    REPAIR("repair"),

    //知识库
    KNOWLEDGE("knowledge"),

    //采购
    PURCHASE("purchase"),

    //入库
    WAREHOUSING("warehousing"),

    //审批
    APPROVAL("approval"),

    //入库管理
    WAREHOUSE_IN("warehouse_in"),

    //归还管理
    EQUIPMENT_RETURN("equipment_return"),

    // 出库管理
    WAREHOUSE_OUT("warehouse_out"),

    // 审理管理
    EQUIPMENT_REQUISITION("equipment_requisition")
}

data class WorkBenchData(
    val title: String?,
    val items: List<WorkBenchItem>?
)

data class WorkBenchItem(
    //使用资源
    val nameResId: Int? = null,
    //使用资源图片
    val picResId: Int? = null,
    //类型
    val itemType: WorkBenchItemType? = null
)